
export const getResources = (url: string, options?: any): Promise<string> => {
  return new Promise((resolve, reject) => {
    fetch(url)
      .then((response) => response.text())
      .then((data) => {
        resolve(data);
      })
      .catch((error) => {
        console.error('getResources error', error);
        reject(error);
      });
  });
};